Options
This section describes the PAP-specific option that you can use with theOTConnect
provider function.The only option that is specific to PAP is the open retry option, which is defined as following:
#define PAP_OPT_OPENRETRY0x2120 /* PAP open retry count */This option forces PAP to try again to open a connection that PAP has tried once already to establish without success.In order to use any option with PAP, you must indicate which protocol the option is intended for. To do this, you use a constant for the PAP protocol in the
level
field of theTOption
structure when you specify an option.
#define ATK_PAP 'PAP 'With PAP, you can use the genericOPT_ENABLEEOM
,OPT_CHECKSUM
andOPT_SERVERSTATUS
options, which are further described in the chapter "Option Management" in this book.